package App.Controller;

import App.Job.Task24HourJob;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @Autowired
    private Task24HourJob _task24Hour;

    @GetMapping("/push")
    public void sentJp(){
        _task24Hour.execute1();
    }
}
